<nav class="nav nav-tabs nav-stacked mb-2">
    <a class="nav-link {{ active_class(if_route('site.site.index')) }}" href="{{ route('site.site.index') }}"><i
            class="fa fa-home " aria-hidden="true"></i></a>
    <a class="nav-link {{ active_class(if_route('wechat.wechat.index',$site)) }}"
       href="{{ route('wechat.wechat.index',$site) }}">站点公众号</a>

    <a href="{{route('wechat.wechat.create',$site)}}"
       class="nav-link {{active_class(if_route('wechat.wechat.create',$site))}}">添加公众号</a>
    @if(active_class(if_route('wechat.wechat.default.edit')))
        <a href="#"
           class="nav-link active)}}">默认回复消息</a>
    @endif
    @if(active_class(if_route('wechat.wechat.menu.edit')))
        <a href="#"
           class="nav-link active">微信菜单</a>
    @endif
</nav>
